home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 3: CDPD 3
/
Almathera Ten on Ten - Disc 3: CDPD3.iso
/
fish
/
001-100
/
001-025
/
024
/
conquest
/
conqmp.c
< prev
next >
Wrap
C/C++ Source or Header
|
1995-03-17
|
1KB
|
41 lines
#include "defs.h"
#include "structs.h"
#include "vars.h"
#include <stdio.h>
printmap()
{
int i1, i2;
cle2r_screen();
for ( i1= bdsize ; i1>=1; i1-- ) {
if ( ((i1==1) || (((i1 / 5)*5)==i1)) )
printf("%2d|", i1);
else
printf(" |");
for ( i2=1 ; i2<=bdsize; i2++ )
printf("%c%c%c",board[i2][i1].enemy,board[i2][i1].star,
board[i2][i1].tf);
printf("|\n");
};
printf(" ");
for ( i1 = 1 ; i1<=bdsize; i1++ ) printf("---");
putchar('\n');
printf(" ");
for ( i1 = 1 ; i1<=bdsize; i1++ ) {
if ( ((i1==1) || (((i1 / 5) * 5) == i1)) )
printf("%2d ", i1);
else
printf(" ");
};
putchar('\n');
point(33,18);
printf("Turn: %3d",turn);
point(33,19);
printf("Production yr: %d",production_year);
bottom_field = 0;
for ( i1 = 19 ; i1<=24; i1++ )
left_line[i1] = false;
}